package com.example.demo.demos;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity(name = "banner")
public class Banner {
    @Id
    int id;
    String url;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
